package com.xqboss.apps.enums.consumer;

import com.xqboss.common.enums.BaseEnum;

/**
 * @author Administrator
 * @date 2023/8/17
 */
public enum ConsumerApplyStatusEnum implements BaseEnum<Integer> {

    PENDING(1, "待处理"),
    AGREED(2, "已同意"),
    REJECTED(3, "已拒绝"),
    TIMED_OUT(4, "已超时");

    private Integer value;
    private String msg;

    ConsumerApplyStatusEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
